<?php
include_once '../../lib/config_inc.php';
include_once '../../class/function.php';
$numRow1 = $_GET['numRow1'];
/***Esta página se encarga de mostrar la interfaz dinamica para agregar o eliminar areas*/
?>

<table  class="centradotab" <?=$conf_tablas?> border="1" bordercolor="#000000">			
	<tr>
		<td colspan="4" bgcolor="#FFF2F5" style="padding:4px; float:center; font-size:14; margin-left:280px;" align="center">
			<a href="javascript:void(0)" title="Eliminar" class="nav" onclick="borrar1(this.name)"  name='<?php echo $numRow1; ?>' id='<?php echo $numRow1; ?>'>
			<img src="images/iconos/delete-page.png" alt="Icono" title="Eliminar">
			</a><strong>Eliminar Ente</strong>
		</td>
	</tr>
 
	<tr>
        	<td class="sombra1"><IMG SRC='images/obli2.gif' BORDER='0'>Ente Ejecutor Financiero</td>
		<td class="sombra2">
			<select name="ejecutor_financiero<?php echo $numRow1;?>" id="ejecutor_financiero<?php echo $numRow1;?>" style="width:100%">
			<option value="0">Seleccione</option>
			<?php 
			$sql="SELECT * FROM t_cman_entes_financieros WHERE in_status=1 AND id_ente_financiero!=0";
			$consulta=ejecutar($sql);
								
			while($filas=pg_fetch_array($consulta))
			{
				echo "<option value=".$filas["id_ente_financiero"].">".$filas["nb_ente_financiero"]."</option>";
			}
			?>
			</select>
		</td>

		<td class="sombra1"><IMG SRC='images/obli2.gif' BORDER='0'>Monto Financiamiento</td>
                <td class="sombra2">
                	<input type="text" name="monto_financiamiento<?php echo $numRow1;?>" id="monto_financiamiento<?php echo $numRow1;?>" maxlength="200" size="20" maxlength="200" size="20" ONCHANGE='FormatearNumero(this)' ONBLUR='Javascript:ActivarEvento(monto_financiamiento<?php echo $numRow1;?>,1);'>
                </td>
	</tr>		
</table>

